//
//  KABCosPubEditTCell.h
//  kabu
//
//  Created by XiangDongMBP on 2017/2/8.
//  Copyright © 2017年 East. All rights reserved.
//

#import <UIKit/UIKit.h>

@class KABCosPubEditTCell;
@protocol KABCosPubEditTCellDelegate <NSObject>
@optional
- (void)kABCosPubEditTCell:(KABCosPubEditTCell *)cell deleteBtnTapped:(UIButton *)btn;
- (void)kABCosPubEditTCell:(KABCosPubEditTCell *)cell textViewDidChanged:(UITextView *)textView;

@end

@class SZTextView;
@class KABCosPublishItem;
@interface KABCosPubEditTCell : UITableViewCell

@property (weak, nonatomic) IBOutlet UIImageView *imgView;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *imgViewHeightConstraint;
@property (weak, nonatomic) IBOutlet UIButton *closeBtn;
@property (weak, nonatomic) IBOutlet SZTextView *textView;

@property (nonatomic,   weak) id<KABCosPubEditTCellDelegate> delegate;
@property (nonatomic, strong) KABCosPublishItem *item;  // 编辑Cos帖子时使用

@end
